@import url('https://use.typekit.net/brq7msg.css');
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&family=Ultra&display=swap');

* {
    padding: 0;
    margin: 0;
}

body {
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    background-color: #f8f3f2;

}

*, *::before, *::after {
    box-sizing: border-box;
}
.tope{
  height: 10px;
  width: 100vw;
  font-style: normal;

.hidden {
    opacity: 0;
}

.visible {
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

}
.primera{
  font-family: "Raleway", sans-serif;
  font-weight: 100;
}
nav {
  position: fixed; 
  top: 0;
  left: 0;
  width: 100%;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  transition: 0.3s ease-out;
  backdrop-filter: blur(8px) brightness(1.2);
  -webkit-backdrop-filter: blur(8px) brightness(1.2);
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  color: rgb(83, 83, 83);
  font-size: 20px;
  z-index: 1000; 
  font-family: 'Raleway', sans-serif;
}

nav.mask {
  top: 0;
  mask-image: linear-gradient(black 70%, transparent);
  -webkit-mask-image: linear-gradient(black 70%, transparent);
}

nav.mask-pattern {
  mask-image: url("data:image/svg+xml, %3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 12.21 10.57%27%3E%3Cpath fill=%27%23ffffff%27 d=%27M6.1 0h6.11L9.16 5.29 6.1 10.57 3.05 5.29 0 0h6.1z%27/%3E%3C/svg%3E"), linear-gradient(black calc(100% - 30px), transparent calc(100% - 30px));
  mask-size: auto 30px, 100% 100%;
  mask-repeat: repeat-x, no-repeat;
  mask-position: left bottom, top left;
  
  -webkit-mask-image: url("data:image/svg+xml, %3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 12.21 10.57%27%3E%3Cpath fill=%27%23ffffff%27 d=%27M6.1 0h6.11L9.16 5.29 6.1 10.57 3.05 5.29 0 0h6.1z%27/%3E%3C/svg%3E"), linear-gradient(black calc(100% - 30px), transparent calc(100% - 30px));
  -webkit-mask-size: auto 30px, 100% 100%;
  -webkit-mask-repeat: repeat-x, no-repeat;
  -webkit-mask-position: left bottom, top left;
}

nav.is-hidden {
  transform: translateY(-100%);
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #333;
  text-decoration: underline;
}

.list {
  list-style-type: none;
  margin-left: auto;
  display: none;

  @media (min-width: 640px) {
      display: flex;
  }

  li {
      margin-left: 20px;
      position: relative;
  }

  .dropdown-content {
      display: none;
      position: absolute;
      background-color: white;
      min-width: 160px;
      box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
      z-index: 1;
      top: 100%;
      left: 0;
      padding: 12px 0;
  }

  .dropdown-content li {
      margin: 0;
      padding: 12px 16px;
  }

  .dropdown-content li a {
      color: black;
      display: block;
  }

  .dropdown:hover .dropdown-content {
      display: block;
      animation: fadeIn 0.3s ease-in-out;
  }
}

@keyframes fadeIn {
  from {
      opacity: 0;
      transform: translateY(-10px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.menu {
  display: inline-block;
  padding: 0;
  font-size: 0;
  font-family: 'Raleway', sans-serif;
  background: none;
  border: none;
  margin-left: 20px;
  filter: drop-shadow(0 0 5px rgba(255, 0, 0, 0.5));

  &::before {
      content: url("data:image/svg+xml, %3Csvg xmlns=%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27 viewBox=%270 0 24.8 18.92%27 width=%2724.8%27 height=%2718.92%27%3E%3Cpath d=%27M23.8,9.46H1m22.8,8.46H1M23.8,1H1%27 fill=%27none%27 stroke=%27%23fff%27 stroke-linecap=%27round%27 stroke-width=%272%27/%3E%3C/svg%3E");
  }

  @media (min-width: 640px) {
      display: none;
  }
}


.bg{
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 80px;
}
.container1 {
  text-align: center;
  margin-top: 12%;
}

.container1 h2 {
  margin-bottom: 10px; /* Reduce el espacio entre 'tu necesitas:' y la animación */
  font-family: 'raleway', sans-serif;
  font-size: 3vw;
  font-weight: 300;
}

.rolling-text {
  position: relative;
  height: 10vw; /* Ajusta según el tamaño del texto en vw */
  overflow: hidden;
}

.text-wrapper {
  animation: rollingText 12s infinite;
  display: flex;
  flex-direction: column;
}

.rolling-text h1 {
  margin: 0;
  line-height: 10vw; /* Ajusta según el tamaño del texto en vw */
  font-size: 10vw; /* Tamaño del texto en vw */
  height: 10vw; /* Altura del contenedor del texto en vw */
  font-family: 'mighty-slab', serif;
  font-weight: 200;
}

@keyframes rollingText {
  0%, 10% { transform: translateY(0); }
  15%, 25% { transform: translateY(-10vw); }
  30%, 40% { transform: translateY(-20vw); }
  45%, 55% { transform: translateY(-30vw); }
  60%, 70% { transform: translateY(-40vw); }
  75%, 85% { transform: translateY(-50vw); }
  90%, 100% { transform: translateY(-60vw); }
  105%, 110% { transform: translateY(-70vw); }
}
#title{
    text-align: center;
	margin-top: 20vh;
	font-size: 3vw;
}



.grafico1.hidden {
  opacity: 0;
  transform: translateX(-100%);
}

.grafico1.visible {
  animation: fadeInLeft 1s forwards; /* Duración de 1 segundo, se puede ajustar */
  width: 50%;
  margin-right: 70%;
  float: right;
}

@keyframes fadeInLeft {
  from {
      opacity: 0;
      transform: translateX(-100%);
  }
  to {
      opacity: 1;
      transform: translateX(0);
  }
}

#intro{
    width: 60%;
    align-content: center;
    text-align: center;
    margin-top: 5%;
    margin-left: 20%;
    font-size: 2vw;
    font-weight: 400;
    font-family: 'Raleway';
}
    .fotomia {
      float: right; 
      width: 40vw;
      margin-left: 20px; 
  }
#about{
    padding-left: 1vw;
}


#about h1{
    font-family: "mighty-slab", serif;
    font-size: 5vw;
    font-weight: 200;

}

.texto-about{
    font-family: 'Raleway';
    width: 50vw;
    padding-bottom: 2vh;
    margin-top: 5vh;
    margin-left: 3vw;
    font-size: 3vh;
}
#hh{
    margin-left: 3%;
    margin-top: 20%;

}
.herramientas{
    clear: both;
    width: 100%;
    font-size: 5vh;
    font-family: 'Raleway', sans-serif;
    font-weight: 305;
    margin-left: 2px;
}
.herramientas h1{
    font-family: "mighty-slab", serif;
    font-weight: 200;
    font-size: 5vw;
}
.adobe{
  width: 25vw;
  float: right;
  top: 0;
  margin-right: 20vw;
}

.lenguajes{
  width: 25vw;
  float: right;
  margin-right: 30vw;
}

.habilidades h1{
    font-family: "mighty-slab", serif;
    font-weight: 200;
    font-size: 5vw;
    align-content: right;
    padding-left: 1%;

}
.habilidades{
    float: right;
    width: 50%;
    font-size: 5vh;
    font-family: 'Raleway', sans-serif;
    font-weight: 305;
}

.skills{
  width: 45%;
  margin-top: 60px;
}



.grafico2.hidden {
  opacity: 0;
  transform: translateX(-100%);
}

.grafico2.visible {
  animation: fadeInRight 1s forwards; /* Duración de 1 segundo, se puede ajustar */
  width: 70%;
  margin-left: 50%;
  float: left;
  filter: blur(3px);
}

@keyframes fadeInRight {
  from {
      opacity: 0;
      transform: translateX(-100%);
  }
  to {
      opacity: 1;
      transform: translateX(0);
  }
}

#branding{
    margin-top: 10vh;
    align-items: center;
}
#branding h1{
    font-family: "mighty-slab", serif;
    font-weight: 300;
    font-size: 12vw;
    padding-left: 2%;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.container {
  width: 100%;
  display: flex;
  justify-content: center;
  height: 500px;
  gap: 10px;

  > div {
    flex: 0 0 180px;
    border-radius: 0.5rem;
    transition: 0.3s ease-in-out;
    cursor: pointer;
    position: relative;
    overflow: hidden;

    &:nth-of-type(1) {
      background: url(../images/branding/chilmulli.jpeg)
        no-repeat 50% / cover;
    }
    &:nth-of-type(2) {
      background: url(../images/branding/Next-Logix.png)
        no-repeat 50% / cover;
    }
    &:nth-of-type(3) {
      background: url(../images/branding/zodiac_brief-01.jpg)
        no-repeat 50% / cover;
    }
    &:nth-of-type(4) {
      background: url(../images/branding/hawaian_p.png)
        no-repeat 50% / cover;
    }
    &:nth-of-type(5) {
        background: url(../images/branding/mockup.jpg)
      no-repeat 50% / cover;
      }
    &:nth-of-type(6) {
    background: url(../images/branding/petroshop.jpg) no-repeat 50% / cover;
}

    .content {
      font-size: 20pt;
      font-weight: 200;
      color: #252525;
      display: flex;
      align-items: center;
      font-family: "Raleway", sans-serif;
      font-weight: 500;
      padding: 15px;
      opacity: 0;
      flex-direction: column;
      height: 100%;
      justify-content: flex-end;
      background: linear-gradient(
        0deg,
        rgba(252, 175, 9, 0.959) 0%,
        rgba(255, 255, 255, 0) 100%
      );
      transform: translatey(100%);
      transition: opacity 0.5s ease-in-out, transform 0.5s 0.2s;
      visibility: hidden;

      span {
        display: block;
        margin-top: 5px;
        font-size: 1.2rem;
      }
    }
    .content h2{
        font-size: 5vh;
        font-weight: 10;
        font-family: "mighty-slab", serif;
    }
    &:hover {
      flex: 0 0 250px;
      box-shadow: 1px 3px 15px #111111;
      transform: translatey(-30px);
    }

    &:hover .content {
      opacity: 1;
      transform: translatey(0%);
      visibility: visible;
    }
  }
}

.animacion1{
  background-image: url(../images/animacion1.gif);
  width: 100%;
  align-items: center;
  float: right;
  background-color: #7645d8;
}

.containerf {
    width: 100%;
    display: flex;
    justify-content: center;
    height: 500px;
    gap: 5px;
    flex-wrap: wrap;

    > div {
        flex: 0 0 80px;
        border-radius: 0.5rem;
        transition: 0.3s ease-in-out;
        cursor: pointer;
        position: relative;
        overflow: hidden;
        background-size: cover;
        background-position: 50% 50%;

        .content {
            font-size: 24pt;
            font-weight: 200;
            color: #fff;
            display: flex;
            align-items: center;
            font-family: "Raleway" sans-serif;
            padding: 10px;
            opacity: 0;
            flex-direction: column;
            height: 100%;
            justify-content: flex-end;
            background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(255, 255, 255, 0) 100%);
            transform: translateY(100%);
            transition: opacity 0.3s ease-in-out, transform 0.5s 0.2s;
            visibility: hidden;

            span {
                display: block;
                margin-top: 5px;
                font-size: 1.2rem;
            }
        }
        .content h2 {
            font-size: 8vh;
            font-weight: 10;
        }
        &:hover {
            flex: 0 0 200px;
            box-shadow: 1px 3px 15px #7645d8;
            transform: translateY(-30px);
        }

        &:hover .content {
            opacity: 1;
            transform: translateY(0%);
            visibility: visible;
        }
    }
}
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.pdf-viewer {
  width: 80%;
  height: 95%;
  border: none;
}

.close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 30px;
  color: #fff;
  cursor: pointer;
}



.grafico3.hidden {
  opacity: 0;
  transform: translateX(-100%);
}

.grafico3.visible {
  animation: fadeInLeft 1s forwards; /* Duración de 1 segundo, se puede ajustar */
  width: 70%;
  margin-right: 50%;
  float: right;
  filter: blur(3px);
}

@keyframes fadeInLeft {
  from {
      opacity: 0;
      transform: translateX(-100%);
  }
  to {
      opacity: 1;
      transform: translateX(0);
  }
}


#fotografia {
    margin-top: 60vh;
    align-items: center;
}
#fotografia h1 {
    font-family: "mighty-slab", serif;
    font-weight: 300;
    font-size: 12vw;
    padding-left: 2%;
}

.galeria{
    width: 80%;
    margin: auto;
    border-radius: 3px;
    overflow: hidden;
    position: relative;
  }
  .img-c {
    width: 200px;
    height: 200px;
    margin: 1px;
    float: left;
    position: relative;
    overflow: hidden;
  }
  
  .img-w {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: transform ease-in-out 300ms;
  }
  
  .img-w img {
    display: none;
  }
  
  .img-c {
      transition: width ease 400ms, height ease 350ms, left cubic-bezier(0.4, 0, 0.2, 1) 420ms, top cubic-bezier(0.4, 0, 0.2, 1) 420ms;
  }
  
  .img-c:hover .img-w {
    transform: scale(1.08);
    transition: transform cubic-bezier(0.4, 0, 0.2, 1) 450ms;
  }
  
  .img-c.active {
    width: 100% !important;
    height: 100% !important;
    position: absolute;
    z-index: 2;
    transform: translate(0, 0);
  }
  
  .img-c.postactive {
    position: absolute;
    z-index: 2;
    pointer-events: none;
  }
  
  .img-c.active.positioned {
    left: 0 !important;
    top: 0 !important;
    transition-delay: 50ms;
  }
  .img-c.active .img-w {
    transform: scale(1);
  }
 


  .grafico5.hidden {
    opacity: 0;
    transform: translateX(-100%);
  }
  
  .grafico5.visible {
    animation: fadeInRight 1s forwards; /* Duración de 1 segundo, se puede ajustar */
    width: 70%;
    margin-left: 50%;
    float: left;
    filter: blur(3px);
  }
  
  @keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
  }

#posters h1{
    margin-top: 60vh;
    font-family: "mighty-slab", serif;
    font-weight: 300;
    font-size: 12vw;
    align-items: center;
    padding-left: 2%;

}
.postersgal{
    display: flex;
    height: 25rem;
    gap: 1rem;

}
.postersgal > div{
    flex: 1;
    border-radius: 1rem;
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto 100%;
    transition: all .9s cubic-bezier(.25, .4, .45, 1.4);
}
.postersgal > div:hover {
    flex: 5;
}
.contacto h1{
  margin-top: 60vh;
  font-family: "mighty-slab", serif;
  font-weight: 300;
  font-size: 7vw;
  float: left;
  width: 50%;
  padding-left: 2%;

}


.container_contacto {
  font-family: 'Raleway';
  width: 600px;
  margin: 30px auto 0;
  display: block;
  padding: 10px 50px 50px;
  float: right;
  margin-top: 60vh;
}

.group_form {
  position: relative;
  margin-bottom: 50px;
}

input,
textarea {
  font-size: 18px;
  padding: 10px 10px 10px 5px;
  display: block;
  width: 100%;
  border: none;
  border-bottom: 1px solid #757575;
}

input:focus,
textarea:focus {
  outline: none;
}

label {
  color: #999;
  font-size: 18px;
  font-weight: normal;
  position: absolute;
  pointer-events: none;
  left: 5px;
  top: 10px;
  transition: 0.2s ease all;
  -moz-transition: 0.2s ease all;
  -webkit-transition: 0.2s ease all;
}

input:focus ~ label,
input:valid ~ label,
textarea:focus ~ label,
textarea:valid ~ label {
  top: -20px;
  font-size: 14px;
  color: #5264AE;
}

.bar {
  position: relative;
  display: block;
  width: 100%;
}

.bar:before,
.bar:after {
  content: '';
  height: 2px;
  width: 0;
  bottom: 1px;
  position: absolute;
  background: #5264AE;
  transition: 0.2s ease all;
  -moz-transition: 0.2s ease all;
  -webkit-transition: 0.2s ease all;
}

.bar:before {
  left: 50%;
}

.bar:after {
  right: 50%;
}

input:focus ~ .bar:before,
input:focus ~ .bar:after,
textarea:focus ~ .bar:before,
textarea:focus ~ .bar:after {
  width: 50%;
}

.highlight {
  position: absolute;
  height: 60%;
  width: 100px;
  top: 25%;
  left: 0;
  pointer-events: none;
  opacity: 0.5;
}

input:focus ~ .highlight,
textarea:focus ~ .highlight {
  -webkit-animation: inputHighlighter 0.3s ease;
  -moz-animation: inputHighlighter 0.3s ease;
  animation: inputHighlighter 0.3s ease;
}

@-webkit-keyframes inputHighlighter {
  from {
    background: #5264AE;
  }
  to {
    width: 0;
    background: transparent;
  }
}

@-moz-keyframes inputHighlighter {
  from {
    background: #5264AE;
  }
  to {
    width: 0;
    background: transparent;
  }
}

@keyframes inputHighlighter {
  from {
    background: #5264AE;
  }
  to {
    width: 0;
    background: transparent;
  }
}

textarea {
  resize: none;
  height: 200px;
  padding: 10px 10px 10px 5px; 
  display: block;
  width: 100%;
  border: none;
  border-bottom: 1px solid #757575;
}

.wrapper{
  position: relative;
  width: 100%;
  height: 100%;
}

button{
  font-family: 'Ubuntu', sans-serif;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  
  width: 170px;
  height: 40px;
  line-height: 1;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 1px;
  border: 3px solid #8C82FC;
  background: #fff;
  color: #8C82FC;
  border-radius: 40px;
  cursor: pointer;
  overflow: hidden;
  transition: all .35s;
}

button:hover{
  background: #8C82FC;
  color: #fff;
}

button span{
  opacity: 1;
  visibility: visible;
  transition: all .35s;
}

.success{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 50%;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  transition: all .35s;
}

.success svg{
  width: 20px;
  height: 20px;
  fill: yellowgreen;
  transform-origin: 50% 50%;
  transform: translateY(-50%) rotate(0deg) scale(0);
  transition: all .35s;
}

button.is_active{
  width: 40px;
  height: 40px;
}

button.is_active .success{
  opacity: 1;
  visibility: visible;
}

button.is_active .success svg{
  margin-top: 50%;
  transform: translateY(-50%) rotate(720deg) scale(1);
}

button.is_active span{
  opacity: 0;
  visibility: hidden;
}


#pie{
  color: #636363;
  font-size: 14pt;
  width: 100vw;
  height: 5vh;
  padding-top: 5px;
  padding-bottom: 5px;
  margin-top: 10vh;
  float: left;
  margin-right: 15%;
}
